package cn.elead.it.template.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;

import com.gitee.elead.mybatisplus.mapper.BaseMapper;

import cn.elead.it.template.model.vo.Demo;
import cn.elead.it.template.sql.DemoSql;

/**
 * <p>
 * * demo信息 Mapper 接口
 * </p>
 * 
 * @author luopeng
 *
 */
@Mapper
public interface IDemoDao extends BaseMapper<Demo> {

	/**
	 * 查询所有
	 * 
	 * @param demo
	 * @return
	 */
	@SelectProvider(type = DemoSql.class, method = "findCDemos")
	List<Demo> findCDemos(@Param("demo") Demo demo);

}
